-- GENERATED SPELL FOR [Cobalt Scalebane] --


function spell0_7436(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(11977,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7436', 15000, 1)
end

function Sorts_7436(pUnit, Event)
local choix_sorts_7436 = math.random(0, 0)
if choix_sorts_7436 == 0 then
pUnit:RegisterEvent('spell0_7436', 1, 1)
end
end

function mob7436_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7436', math.random(1500, 3000), 1)
end

function mob7436_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7436_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7436_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7436, 1, 'mob7436_Action')
RegisterUnitEvent(7436, 2, 'mob7436_Leave')
RegisterUnitEvent(7436, 3, 'mob7436_Kill')
RegisterUnitEvent(7436, 4, 'mob7436_Die')
